package com.junjie.food.orderServiceManager;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

import java.io.IOException;
import java.util.concurrent.TimeoutException;

@SpringBootApplication
@MapperScan(basePackages = {"com.junjie.food","MountainMq"},annotationClass = Mapper.class)
@ComponentScan(basePackages = {"MountainMq","com.junjie.food"})
public class OrderServiceManagerApplication {

    public static void main(String[] args) throws IOException, TimeoutException {
        SpringApplication.run(OrderServiceManagerApplication.class, args);
    }
}
